<div ng-if="pagedata.op=='list'" class='fui-page fui-page-current'>
    <div class="topbg" style="position: relative;width:100%;background: {{main.syscolor || '#7c1cc9'}};height:6rem">
			<div class="fui-cell-title bold" style="padding-top:0.8rem;color:#fff">我的账号</div>
			<div style="padding-left:0.7rem;font-size:0.6rem">
				<p style="color:#f2f2f2">您可以添加关联多个账号，实现一键切换。</p>
			</div>
	</div>
	<div class='fui-content' style="margin-top:-2rem">
	<div class="jy-content">
	<div class="fui-cell-group radius">
		<div class="fui-cell" style="background:#fff;padding:0.5rem;align-items:stretch">
				<div class="fui-cell-label" style="width:2.3rem;">
					<img class="round" style="width:2rem;height:2rem;border-radius:100%" ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div class="fui-cell-text" style="line-height:1.4">
					<div>{{pagedata.member.nickname}}</div>
					<div class="gray" style="font-size:0.65rem">
						{{pagedata.member.username}}({{pagedata.member.id}})
					</div>
					<div class="gray" style="font-size:0.65rem">
						<span ng-if="pagedata.member.realname">{{pagedata.member.realname}},</span><span ng-if="pagedata.member.mobile">{{pagedata.member.mobile}}</span>
					</div>
				</div>
				<div class="fui-cell-remark noremark">
					<i class="icon icon-selected syscolor" style="font-size:2rem"></i>
				</div>
		</div>
		<div class="fui-cell" ng-repeat="item in pagedata.list" style="background:#fff;padding:0.5rem;align-items:stretch">
				<div ng-click="post(item,'/member.mymid/login/');" class="fui-cell-label" style="width:2.3rem;">
					<img style="width:2rem;height:2rem;border-radius:100%" ng-src="{{tomedia(item.avatar) || '../core/resource/images/gw-user.png'}}" />
				</div>
				<div ng-click="post(item,'/member.mymid/login/');" class="fui-cell-text" style="line-height:1.4">
					<div>{{item.nickname}}</div>
					<div class="gray" style="font-size:0.65rem">
						{{item.username}}({{item.id}})
					</div>
					<div class="gray" style="font-size:0.65rem">
						<span ng-if="item.realname">{{item.realname}},</span><span ng-if="item.mobile">{{item.mobile}}</span>
					</div>
				</div>
				<div class="fui-cell-remark noremark">
					<div ng-click="post(item,'/member.mymid/delete/')" class="icon icon-delete syscolor"> 删除</div>
				</div>
		</div>
	</div>
	<a href='javascript:;' ng-click="access_json('core/member.mymid/edit/')" class='btn btn-success block' style="margin-top:1rem;border-radius:1rem">添加账号</a>
	<div class="syscolor c" ng-if="pagedata.forward_url" href='javascript:;' ng-click="access_json(pagedata.forward_url)"><< 返回</div>
	<div class="fui-cellone" style="padding:15px 18px;{{pagedata.zhuce.demoname?'padding-top:5px;':''}}">
		<div ng-show="pagedata.openid" class="fui-cellone-label" style="width:auto;padding-right:20px">
			<img src="../core/resource/images/icon/wechat.png" style="width:22px;height:22px"/>
			<a style="line-height:22px" href="javascript:;" href="javascript:;" ng-click="post(pagedata.item,'core/member.login/wechat_login/')">一键登录</a>
		</div>
		<div class="fui-cellone-info"></div>
		<div class="fui-cellone-remark noremark">
			<a class="action" href="javascript:;" ng-click="access_json('/member.register/')"><i class="fa fa-chevron-circle-right syscolor" style="font-size:16px"> 去注册</i></a>
		</div>
	</div>
	</div>
	</div>
</div>
<div ng-if="pagedata.op=='edit'" class='fui-page fui-page-current'>
    <div class="topbg" style="position: relative;width:100%;background: {{main.syscolor || '#7c1cc9'}};height:6rem">
		<div class="fui-cell-title bold" style="padding-top:0.8rem;color:#fff">编辑账号</div>
		<div style="padding-left:0.7rem;font-size:0.6rem">
			<p style="color:#f2f2f2">您可以添加关联多个账号，实现一键切换。</p>
		</div>
	</div>
	<div class='fui-content' style="margin-top:-2rem">
	<div class="jy-content">
		<div class="fui-cell-group radius" ng-show="pagedata.item.login_type != 1">
			<div class="fui-cell">
				<div class="fui-cell-label">{{pagedata.name_title}}</div>
				<div class="fui-cell-info">
				<input type="text" class='fui-input' name="username" placeholder="请输入{{pagedata.name_title}}"  ng-model="pagedata.item.username" />
				</div>
			</div>
			<div class="fui-cell">
				<div class="fui-cell-label ">密 码</div>
				<div class="fui-cell-info"><input type="password" class='fui-input' placeholder="请输入密码" ng-model="pagedata.item.password" /></div>
			</div>
		</div>
		<a href='javascript:;' ng-click="post(pagedata.item,'/member.mymid/post/');" class='btn btn-banf btn-success block' style="margin-top:1rem">提交</a>
	</div>
	</div>
</div>
<script>
scope.tool.get_list('core/member.mymid/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('core/member.mymid/list/');
}
</script>
